package com.ylyq.ylxx.model.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @ClassName OceanengineAdStatExtraInfo
 * @Description TODO
 * @Author xiaweichao
 * @Date 2020/8/4 14:31
 * @Version 1.0
 */
@NoArgsConstructor
@Data
@ApiModel(value = "查询广告计划学习期状态的返回参数")
public class OceanengineAdStatExtraInfo {

    /**
     * message : OK
     * code : 0
     * data : [{"learning_phase":"DEFAULT","ad_id":1674797963270179},{"learning_phase":"DEFAULT","ad_id":1674797865978920},{"learning_phase":"DEFAULT","ad_id":1674713683864663},{"learning_phase":"DEFAULT","ad_id":1674797313791020},{"learning_phase":"DEFAULT","ad_id":1674789404285997},{"learning_phase":"DEFAULT","ad_id":1674789393967277},{"learning_phase":"DEFAULT","ad_id":1674797409401908},{"learning_phase":"DEFAULT","ad_id":1674789146504215},{"learning_phase":"DEFAULT","ad_id":1674797907067963},{"learning_phase":"DEFAULT","ad_id":1674789364000796},{"learning_phase":"DEFAULT","ad_id":1674797434734653},{"learning_phase":"DEFAULT","ad_id":1674797930161182}]
     * request_id : 2020081215070401001002521708144456
     */

    private String message;
    private int code;
    private String request_id;
    private List<DataBean> data;

    @NoArgsConstructor
    @Data
    @ApiModel(value = "查询广告计划学习期状态的返回参数实体-集合")

    public static class DataBean {
        /**
         * learning_phase : DEFAULT
         * ad_id : 1674797963270179
         */

        @ApiModelProperty(value = "计划ID")
        private Long ad_id;
        @ApiModelProperty(value = "学习期状态\n" +
                "允许值：DEFAULT（默认，不在学习期中）、LEARNING（学习中）、LEARNED（学习成功）、LEARN_FAILED（学习失败),具体可以参考此文档的说明：关于学习期")
        private String learning_phase;

    }
}
